package com.example.boot1.util;

import org.springframework.boot.Banner;
import org.springframework.core.env.Environment;

import java.io.PrintStream;

public class CustomBanner implements Banner {
 
    private static final String BANNER =
            " __ ___ _ __ ___ ___ ___ _ __ /\u0026gt;\n" +
            "\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\n" +
            "\\ \\ \\_\\ \\ \\ \\_\\ \\ \\_\\ \\ \\_\\ \\ \\_\\ \\ \\_\\ \\ \\_\\ \\ \\_\\ \\ \\_\\ \\ \\_\\ \\_\\ \\_\\ \\n" +
            " \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/  \\/_/";
 
    @Override
    public void printBanner(Environment environment, Class<?> sourceClass, PrintStream printStream) {
        printStream.println(BANNER);
    }
}